﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class ITaskPrxHelper extends RMIProxyObject implements ITaskPrx
    {
        public static const NAME:String = "Message.Game.ITask";

        public function ITaskPrxHelper()
        {
            name = "ITask";
            return;
        }// end function

        public function cancelTask_async(param1:AMI_ITask_cancelTask, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("cancelTask");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function demandShareGuildTask_async(param1:AMI_ITask_demandShareGuildTask, param2:SEntityId) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("demandShareGuildTask");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function digTreasure_async(param1:AMI_ITask_digTreasure) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("digTreasure");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function dramaStep_async(param1:AMI_ITask_dramaStep, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("dramaStep");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function endFly_async(param1:AMI_ITask_endFly) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("endFly");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function endGuide_async(param1:AMI_ITask_endGuide, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("endGuide");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function endTask_async(param1:AMI_ITask_endTask, param2:int, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("endTask");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function explore_async(param1:AMI_ITask_explore) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("explore");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getEscortInfo_async(param1:AMI_ITask_getEscortInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getEscortInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getGuildTaskShareList_async(param1:AMI_ITask_getGuildTaskShareList) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getGuildTaskShareList");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getShareGuildTask_async(param1:AMI_ITask_getShareGuildTask, param2:SEntityId, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("getShareGuildTask");
            var _loc_6:* = new SerializeStream();
            param2.__write(_loc_6);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function getTask_async(param1:AMI_ITask_getTask, param2:int, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("getTask");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function inviteRefreshRoutineTask_async(param1:AMI_ITask_inviteRefreshRoutineTask, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("inviteRefreshRoutineTask");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function npcTask_async(param1:AMI_ITask_npcTask, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("npcTask");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function quickCompleteTask_async(param1:AMI_ITask_quickCompleteTask, param2:int, param3:Boolean) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("quickCompleteTask");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeBool(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function refreshGuildTaskColor_async(param1:AMI_ITask_refreshGuildTaskColor) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("refreshGuildTaskColor");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function refreshRoutineTask_async(param1:AMI_ITask_refreshRoutineTask, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("refreshRoutineTask");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function rejectRefreshRoutineTask_async(param1:AMI_ITask_rejectRefreshRoutineTask, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("rejectRefreshRoutineTask");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function requireRoutineTaskPanelInfo_async(param1:AMI_ITask_requireRoutineTaskPanelInfo, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("requireRoutineTaskPanelInfo");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function requireRoutineTaskRefreshPanelInfo_async(param1:AMI_ITask_requireRoutineTaskRefreshPanelInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("requireRoutineTaskRefreshPanelInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function shareGuildTask_async(param1:AMI_ITask_shareGuildTask) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("shareGuildTask");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function talkToNpc_async(param1:AMI_ITask_talkToNpc, param2:int, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("talkToNpc");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeInt(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function taskInfo_async(param1:AMI_ITask_taskInfo, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("taskInfo");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

    }
}
